<!--{subtemplate global/header}-->
<div class="main-container" id="main-container">
    <script type="text/javascript">
        try{ace.settings.check('main-container' , 'fixed')}catch(e){}
    </script>
    <!--{subtemplate global/left}-->
    <div class="main-content">
        <div class="main-content-inner">
            <!--{subtemplate global/breadcrumbs}-->
            <div class="page-content">
                <!--{subtemplate global/setting_box}-->
                <div class="page-header" style="display:none;">
                    <h1></h1>
                </div><!-- /.page-header -->
                <div class="row">
                    <div class="col-xs-12">
                        <!-- PAGE CONTENT BEGINS -->
                        <div class="widget-box transparent ui-sortable-handle">
                            <div class="widget-header">
                                <h4 class="widget-title lighter">数据列表</h4>
                                <div class="widget-toolbar no-border">
                                    <a href="index.php?mod=###tools_crud_add_mod###&action=###tools_crud_add_action###&do=add">
                                        <i class="ace-icon fa fa-plus" data-icon-show="fa-plus" data-icon-hide="fa-plus"></i>
                                    </a>
                                    <a href="#" data-action="collapse">
                                        <i class="ace-icon fa fa-chevron-up"></i>
                                    </a>
                                    <a href="#" data-action="close">
                                        <i class="ace-icon fa fa-times"></i>
                                    </a>
                                    <a href="#" data-action="fullscreen" class="orange2">
                                        <i class="ace-icon fa fa-expand"></i>
                                    </a>
                                    <a href="#" data-action="" onclick="window.history.go(-1)">
                                        <i class="ace-icon fa fa-reply icon-only"></i>
                                    </a>
                                </div>
                            </div>
                            <div class="widget-body">
                                <div class="widget-main padding-6 no-padding-left no-padding-right">
                                    <table id="dynamic-table" class="table table-striped table-bordered table-hover dataTable no-footer DTTT_selectable" role="grid" aria-describedby="dynamic-table_info">
                                        <thead>
                                            <tr>
                                                <th>数据编号</th>
                                                ###tools_crud_add_field_name###
                                                <th>操作</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <!--{if $page_result[page_data]}-->
                                            <!--{loop $page_result[page_data] $value}-->
                                            <tr>
                                                <td>{$value[###tools_crud_add_key###]}</td>
                                                ###tools_crud_add_field###
                                                <td>
                                                    <div class="hidden-sm hidden-xs action-buttons">
                                                        <a class="green" href="index.php?mod=###tools_crud_add_mod###&action=###tools_crud_add_action###&do=edit&###tools_crud_add_key###={$value[###tools_crud_add_key###]}">
                                                            <i class="ace-icon fa fa-pencil bigger-130"></i>
                                                        </a>
                                                        <a class="red" href="index.php?mod=###tools_crud_add_mod###&action=###tools_crud_add_action###&do=delete&###tools_crud_add_key###={$value[###tools_crud_add_key###]}" onclick="return confirm('确定删除?');">
                                                            <i class="ace-icon fa fa-trash-o bigger-130"></i>
                                                        </a>
                                                    </div>
                                                </td>
                                            </tr>
                                            <!--{/loop}-->
                                            <!--{else}-->
                                            <tr>
                                                <td colspan="###tools_crud_add_count###">暂无信息</td>
                                            </tr>
                                            <!--{/if}-->
                                        </tbody>
                                    </table>
                                    <div class="modal-footer no-margin-top">
                                        <ul class="pagination pull-right no-margin">{$multipage}</ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div><!-- /.page-content -->
        </div>
    </div><!-- /.main-content -->
    <a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
        <i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
    </a>
</div><!-- /.main-container -->
<!--{subtemplate global/footer}-->